%h1 New campaign Advert
-semantic_form_for [:admin,@campaign_advert]  do |form|
  =form.error_messages
  -form.inputs do
    =form.input :campaign, :include_blank=>false
    =form.input :advert, :include_blank=>false
    =form.input :page_location, :collection=>WebappConstants::ADVERTS_PAGE_LOCATION
    
  -form.buttons do
    =form.commit_button :label=>"Create campaign Advert!"